package com.gxa.insurance.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author Min
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Api("易理赔订单实体")
public class InsuranceOrder {
   @ApiModelProperty(name = "id",value = "自增长id",dataType = "integer")
   private Integer id;
   @ApiModelProperty(name = "orderId",value = "订单总表",dataType = "integer")
   private Integer orderId;
   @ApiModelProperty(name = "s4Area",value = "4s所在区域",dataType = "Area4")
   private Area s4Area;
   @ApiModelProperty(name = "s4AreaName",value = "4s所在区域",dataType = "string")
   private String s4AreaName;
   @ApiModelProperty(name = "s4Shop",value = "4s店",dataType = "S4Shop")
   private S4Shop s4Shop;
   @ApiModelProperty(name = "isMakeCompemsation",value = "是否 需要赔偿",dataType = "boolean")
   private Boolean isMakeCompemsation;
   @ApiModelProperty(name = "isFiveCirecle",value = "是否 在五环",dataType = "boolean")
   private Boolean isFiveCirecle;
   @ApiModelProperty(name = "isSendMessage",value = "是否发送短信",dataType ="boolean" )
   private Boolean isSendMessage;
   @ApiModelProperty(name = "attention",value = "特定事项",dataType ="string" )
   private String attention;
   @ApiModelProperty(name = "messageContentCus",value = "用户短信内容",dataType ="string" )
   private String messageContentCus;
   @ApiModelProperty(name = "messageContentDri",value = "司机短信内容",dataType ="string" )
   private String messageContentDri;
   @ApiModelProperty(name = "messageOperate",value = "短信生操作方式1.生成短信 2.发送给客户",dataType ="integer" )
   private Integer messageOperate;
   @ApiModelProperty(name = "getCarTime",value = "接车时间",dataType ="date" )
   @JsonFormat(pattern = "YYYY-MM-dd HH:mm:ss",timezone = "GMT+8")
   private Date getCarTime;
   @ApiModelProperty(name = "engineNumber",value = "发动机号",dataType = "string")
   private String engineNumber;
   @ApiModelProperty(name = "insuredPerson",value = "被保险人",dataType = "string")
   private String insuredPerson;
   @ApiModelProperty(name = "contactPerson",value = "联系人",dataType = "string")
   private String contactPerson;
   @ApiModelProperty(name = "contactPhone",value = "联系电话",dataType = "string")
   private String contactPhone;
   @ApiModelProperty(name = "position",value = "定损地点",dataType = "string")
   private String position;
   @ApiModelProperty(name = "registerPerson",value = "登记人",dataType = "string")
   private String registerPerson;
   @ApiModelProperty(name = "receivePosition",value = "接车地点",dataType = "string")
   private String receivePosition;
   @ApiModelProperty(name = "returnPosition",value = "还车地点",dataType = "string")
   private String returnPosition;
   @ApiModelProperty(name = "receiveMap",value = "接车地图地点",dataType = "string")
   private String receiveMap;
   @ApiModelProperty(name = "returnMap",value = "还车地图地点",dataType = "string")
   private String returnMap;
   @ApiModelProperty(name = "tip",value = "备注",dataType = "string")
   private String tip;
   @ApiModelProperty(name = "completeTime",value = "预计完成时间",dataType = "string")
   @JsonFormat(pattern = "YYYY-MM-dd HH:mm:ss",timezone = "GMT+8")
   private Date completeTime;
   @ApiModelProperty(name = "pictureDesc",value = "拍照内容描述",dataType = "string")
   private String pictureDesc;
   @ApiModelProperty(name = "inspectPlaceId",value = "检测厂",dataType = "RepairDepot")
   private RepairDepot inspectPlace;
   @ApiModelProperty(name="masterCard",value = "车主卡id",dataType = "integer")
   private Integer masterCard;
   @ApiModelProperty(name = "accident",value = "事故类型",dataType = "string")
   private String accident;

}
